package com.njlime.cms.repository.sys;

import com.njlime.cms.entities.Information;
import com.njlime.cms.entities.Label;
import com.njlime.core.helper.PageBean;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.Map;

/**
 * Created by Dean on 2017-7-27.
 */
public interface LabelDao extends JpaRepository<Label, Integer>,JpaSpecificationExecutor<Label> {
    int editLabel(Label label);
    Label getByName(String name, int unit_id);
    PageBean list(PageBean pageBean, Label label);
    int del(int id);
}
